package cn.elead.it.sso.system.model.query;

import java.time.LocalDateTime;
import java.util.Set;

import org.springframework.format.annotation.DateTimeFormat;

import cn.hutool.core.date.DatePattern;
import lombok.Data;

/**
 * 部门查询
 * 
 * @author luopeng
 *
 */
@Data
public class DeptQuery {

	private Set<String> ids;

	private String name;

	private Boolean enabled;

	private String pid;

	@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
	private LocalDateTime startTime;

	@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
	private LocalDateTime endTime;
}